import Layout from '@/layout'

// WMS模块路由
const wmsRouter = {
  path: '/wms',
  component: Layout,
  name: 'WMS',
  meta: { title: '仓库管理系统', icon: 'warehouse' },
  redirect: 'noRedirect',
  children: [
    {
      path: 'base',
      component: null,
      name: 'WmsBase',
      meta: { title: '基础数据管理', icon: 'dict' },
      redirect: 'noRedirect',
      children: [
        {
          path: 'warehouse',
          component: () => import('@/views/wms/base/warehouse/index'),
          name: 'Warehouse',
          meta: { title: '仓库信息管理', icon: 'build' }
        }
      ]
    }
  ]
}

export default wmsRouter
